package com.ws.game.skins
{
	import com.ws.game.common.components.graphic.Triangle;
	import flash.display.Sprite;
	public class MonsterSkin extends Sprite implements ISkin
	{
		public function MonsterSkin()
		{
			super();
			drawSkin();			
		}
		
		public function drawSkin():void{
			this.graphics.clear();
			this.graphics.beginFill(0x000000);
			this.graphics.drawRect(0,0,50,50);
			this.graphics.endFill();
			
			//add triangle
			var triangle:Triangle =new Triangle(0xFF0000);
			triangle.x = (this.width -triangle.width)/2;
			triangle.y =2;
			this.addChild(triangle);
		}
	}
}